How to implement a zombie sniper gameplay based on UE

Posted on 2023-02-15

Key Features

sniper scope zoom in/out

Simply change FOV

hitscan sniper

Do a LineTrace using the camera’s direction

headshot

Use the HitBoneName in the HitResult of LineTrace

zombie like animation

Physical Animation. Simulate part of the body, like spine_02, the character will act like a zombie

hit reaction

enter image description here

Physical Animation. AddImpulse to the hit bone